package com.Thread02.demo02;

import java.util.concurrent.ArrayBlockingQueue;

public class Demo01 {
    public static void main(String[] args) {
        ArrayBlockingQueue<String> list = new ArrayBlockingQueue<>(1);
        Cooker01 f = new Cooker01(list);
        Foodie01 c = new Foodie01(list);
        f.start();
        c.start();
    }
}
